{% extends "news/base.html" %}

{% block title %}
    用户中心
{% endblock %}

{% block scriptBlock %}
<script type="text/javascript" src="../../static/news/js/jquery.form.min.js"></script>
{% endblock %}

{% block heads %}

{% endblock %}

{% block left_contents %}
<div class="user_menu_con fl">
			<div class="user_center_pic">
                {% if user.avatar_url %}
                <img src="{{ user.avatar_url }}" class="lgin_pic">
                {% else %}
                <img src="../../static/news/images/person01.png" class="lgin_pic">
                {% endif %}
			</div>
			<div class="user_center_name">{{ user.nick_name }}</div>

            <ul class="option_list">
				<li class="active"><a href="/user/base_info" target="main_frame">基本资料</a></li>
				<li><a href="/user/avatar_setting" target="main_frame">头像设置</a></li>
				<li><a href="/user/user_follow" target="main_frame">我的关注</a></li>
				<li><a href="/user/change_password" target="main_frame">密码修改</a></li>
				<li><a href="/user/user_collection" target="main_frame">我的收藏</a></li>
				<li><a href="/user/new_publish" target="main_frame">新闻发布</a></li>
				<li><a href="/user/new_list" target="main_frame">新闻列表</a></li>
			</ul>

{#			<ul class="option_list">#}
{#				<li class="active"><a href="../../static/news/html/user_base_info.html" target="main_frame">基本资料</a></li>#}
{#				<li><a href="../../static/news/html/user_pic_info.html" target="main_frame">头像设置</a></li>#}
{#				<li><a href="../../static/news/html/user_follow.html" target="main_frame">我的关注</a></li>#}
{#				<li><a href="../../static/news/html/user_pass_info.html" target="main_frame">密码修改</a></li>#}
{#				<li><a href="../../static/news/html/user_collection.html" target="main_frame">我的收藏</a></li>#}
{#				<li><a href="../../static/news/html/user_news_release.html" target="main_frame">新闻发布</a></li>#}
{#				<li><a href="../../static/news/html/user_news_list.html" target="main_frame">新闻列表</a></li>#}
{#			</ul>#}
		</div>
{% endblock %}

{% block right_content %}
<div class="user_con fr">
			<iframe src="/user/base_info" frameborder="0" name="main_frame" class="main_frame" id="main_frame"></iframe>
		</div>
{% endblock %}

